package com.irs.service.impl;


import com.irs.mapper.BuildingUtilMapper;
import com.irs.pojo.BuildingUtil;
import com.irs.service.BuildingUtilService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class BuildingUtilServiceImpl implements BuildingUtilService {
    @Resource //注入BuildingUnitMapper
    private BuildingUtilMapper buildingUtilDao;
    public int insert(BuildingUtil pojo){
        return  buildingUtilDao.insert(pojo);
    }

    public int insertList(List< BuildingUtil> pojos){
        return  buildingUtilDao.insertList(pojos);
    }

    public List<BuildingUtil> select(BuildingUtil pojo){
        return  buildingUtilDao.select(pojo);
    }

    public int update(BuildingUtil pojo){
        return  buildingUtilDao.update(pojo);
    }
}
